package cn.jhz.learn.blog.service.core.open.photo;

import cn.jhz.learn.blog.po.photo.BlogAlbumSubfield;
import cn.jhz.learn.blog.po.photo.BlogPhotoSubfield;
import cn.jhz.learn.blog.vo.article.query.page.ArticlePageView;
import org.jetbrains.annotations.NotNull;

import java.util.List;

public interface AlbumService {
    List<BlogAlbumSubfield> getSubfields(ArticlePageView pageView);

    List<BlogAlbumSubfield> getSubfields(Integer uid, @NotNull ArticlePageView pageView);

    List<BlogPhotoSubfield> getAlbums(ArticlePageView pageView);

    List<BlogPhotoSubfield> getAlbums(Integer uid, ArticlePageView pageView);

    BlogPhotoSubfield getAlbum(Integer uid, Integer photo_subfield_id);

    BlogPhotoSubfield getAlbum(Integer photo_subfield_id);
}
